<extend name="Layout/dialog" />
<block name="css"></block>
<block name="style"></block>
<block name="js"></block>
<block name="script"></block>
<block name="model">合同管理</block>
<block name="controller">合同管理</block>
<block name="action">查看支付信息</block>
<block name="desc"></block>
<block name="content">
	<div class="box box-success">
		<div class="box-header with-border">
			<h3 class="box-title">查看支付信息</h3>
		</div>
		<div class="box-body table-responsive">
			<empty name="data">
			<div class="alert alert-warning alert-dismissible">
				<h4><i class="icon fa fa-warning"></i>暂无任何记录</h4>
				  未查到任何符合要求的记录！
			</div>
			</empty>
			<notempty name="data">
			<table class="table table-bordered table-striped">
				<tr>
					<td class="text-right col-sm-2">合同编号</td>
					<td>{$data['contract_number']}</td>
				</tr>
				<tr>
					<td class="text-right col-sm-2">微信支付单号</td>
					<td>{$data['contract_transaction_id']}</td>
				</tr>
				<tr>
					<td class="text-right">姓名</td>
					<td>{$data.contract_name}</td>
				</tr>
				<tr>
					<td class="text-right">身份证号</td>
					<td>{$data.contract_cardid}</td>
				</tr>
					<td class="text-right">支付金额</td>
					<td>{$data.amount}</td>
				</tr>
				<tr>
					<td class="text-right">支付时间</td>
					<td>{$data.time}</td>
				</tr>
				<tr>
					<td class="text-right">贷款类型</td>
					<td>{$data.contract_loan_type}</td>
				</tr>
				<tr>
					<td class="text-right">商品类型</td>
					<td>{$data.contract_commodity_type}</td>
				</tr>
				<tr>
					<td class="text-right">品牌</td>
					<td>{$data.contract_brand}</td>
				</tr>
				<tr>
					<td class="text-right">总金额</td>
					<td>{$data.contract_total_money}</td>
				</tr>
				<tr>
					<td class="text-right">首付金额</td>
					<td>{$data.contract_down_pay}</td>
				</tr>
				<tr>
					<td class="text-right">支付状态</td>
					<if condition="$data.contract_status == 0">
						<td>未支付</td>
					</if>
					<if condition="$data.contract_status == 1">
						<td>支付成功</td>
					</if>
					<if condition="$data.contract_status == 2">
						<td>支付失败</td>
					</if>
				</tr>
			</table>
			</notempty>
		</div>
	</div>
</block>